package main

import (
	"time"
)

func sleepAndSay(sth string) {
	for {
		time.Sleep(1000 * time.Millisecond)
		println(sth)
	}
}

func main() {
	go sleepAndSay("aaa")
	sleepAndSay("bbb")
}
